﻿namespace Repositories.VM;

/// <summary>
/// 登录结果
/// </summary>
public class LoginResVM
{
    /// <summary>
    /// Token
    /// </summary>
    public string Token { get; set; }
    /// <summary>
    /// 用户信息
    /// </summary>
    public UserVM UserInfo { get; set; }
    /// <summary>
    /// 用户权限
    /// </summary>
    public List<Feature> FeatureList { get; set; }
    /// <summary>
    /// 软授权结果
    /// </summary>
    public SFAuthRes SFAuthRes { get; set; }
}

/// <summary>
/// 软授权结果
/// </summary>
public class SFAuthRes
{
    /// <summary>
    /// 教学环境管理
    /// </summary>
    public bool TeachingEnvironment { get; set; }

    /// <summary>
    /// 远程观摩监控
    /// </summary>
    public bool RemoteObservation { get; set; }

    /// <summary>
    /// 一卡通及教务科表模块
    /// </summary>
    public bool CardAndClassSchedule { get; set; }

    /// <summary>
    /// 教学质量监控录像模块
    /// </summary>
    public bool TeachingQualityMonitoring { get; set; }
    /// <summary>
    /// 音频广播
    /// </summary>

    public bool AudioBroadca { get; set; }
}
